fix #233 add timeout for interactive messages