changed all the connections to blocking = true