Error handling in cluster.delete()

Signed-off-by: Shashank Sahni <shredder12@gmail.com>