Update client script to run as a daemon, automatically polling the pool
queue for new tasks. TODO:remote logging