Fix too many connections being started and not stopped.