#78 implemented message timeout