Fixed a bug when a reply is sent to a timed out request