mod_rayo: fixed hangup race condition