Restored old behaviour on exception handling; adjusted sleep time for
reconnection