fixes to handle kill -9 of amf.  This causes amf to recover so quickly that the UDP keepalive system has not yet noticed the failure