Disconnect the connection if we are existing early.
Merge pull request #254 from square/jw/close-shop

Disconnect the connection if we are existing early.