Error handling for create_cluster shell script