ConnectionService: call close() on connection when disconnecting
As we are creating new connection every time the button is pressed, we need to discard the old connection objects
As we are creating new connection every time the button is pressed, we need to discard the old connection objects