fix behavior when canceling/breaking a connect