Fixed fail when trying to send emssage before get_difference end