added option to stop a connector