Merge "do not unbind if the connection has been cleared already" into qt-dev