adding check that the volume is in the available status before attempting to attach