Add connection connection disconnection methods

Targets #650.