Emit close event when receive unhandled message