Clean-up code for RecvEvent()