Bug in the connection fixed