fixes #456 - correctly re-add app to TaskQueue when it fails to start in deployment