bugfix: remove old connectors before creating new ones