added 3 sec timeout before reconnection when keywords were modified