Fix logic bug where it would check connection at 50 seconds and minute.