fix #233 Add timeout for interactive messages