temporary fix for one of the SocketModule issues