Is there a way on cluster.reload() to check if there is an error and then revert to the original code?