On Hook / Off Hook phone detection on TDM400P clone

I have an analogue phone connected to the the FXS-port of a TDM400P clone, which works, but with a small glitch:
When I switch off (On Hook) the phone to end an active phone call, I have to wait 2-3 seconds before switching it on again (Off Hook) to make another call.
Other wise (fast On Hook/Off Hook), I see the following in the asterisk CLI:

– Hungup ‘ZAP/1-1’ (My telephone)
Warning[2799]: chan_zap.c:1625 zt_set_hook zt_hook failed: Device or resource busy

On my telephone, in this case I do not receive a dial tone, untill I switch if off (On Hook) again.

It looks like some kind of race-condition to me, the Hung-up is detected, but not processed before the off-hook again.

Any ideas ?

My zapata.conf:

[channels]
;
; Default language
;
language=de
echocancel=yes
echocancelwhenbridged=no
immediate=no
callprogress=no
musiconhold=default
faxdetect=no
;
; Now for the module 3 (FXO) to telephone jack in wall (actually not used)
;
context=to_analog_phone_corp
usecallerid=no
hidecallerid=no
callwaiting=no
callwaitingcallerid=no
callerid=“PSTN” <0>
busydetect=yes
busycount=3
threewaycalling=no
rxgain=0.0 ;try …
txgain=0.0 ;try …
signalling=fxs_ks
channel => 3
;
; Now for module 1 & 2 on my card (FXS) to analog phone
;
context=to_analog_telephone
usecallerid=yes
hidecallerid=yes
callwaiting=yes
callwaitingcallerid=yes
callerid=“ZAP” <100>
;;;;mailbox=101@default
busydetect=no
;busydetect=yes
threewaycalling=yes
transfer=yes
canpark=yes
pickupgroup=1
rxgain=-5.0 ;try …
txgain=0.0 ;try …
signalling=fxo_ks
channel => 1-2