set nonblocking to socket
add command script 'pwctl'. add a status function to watcher.