moved to checking open sockets for nginx