bug fix check_open_pool and run cluster.sh on single processor