add: checker for open sockets and files