Fix #IDEUI-221 Stop checking health on stop

If project is stopped, canceled or failed, we now stop checking for
application health.