Update the getSocketByAddress avoid the connection block