Jinoh Kang : server: Defer clearing events until async is completed in send_socket handler.