Removed shared_connection

Closes #417