receive_handler and send_handler are being called