Improved waiting for slot event to allow C_Finalize to terminate any waiting