check open sockets in init phase