User should not delete a function with running jobs associated. Change-Id: I627ac7ef057768e7c2d99f56e17da9eacbf4ad76