Cleanup timeout calculation in receive message.