Added code for detaching disk from instance