with improved deployment checks if bean deployment is in progress