Made it possible to close a connection
Updated the bundler version used