As we are creating new connection every time the button is pressed, we need to discard the old connection objects