Fix for race on halt of StateRecvSocketReactor
Added script for running nodes on EC2