cancel old connection/toolbox instead of preventing new connection (fixes #679)
Merge pull request #688 from mykmelez/race-connection

cancel old connection/toolbox instead of preventing new connection