add a timeout to reconnect to stomp for long running processes.