fix #208 allow a app to run forever
Merge pull request #236 from clockfly/general_app_submission

fix #208 allow a app to run forever
Merge remote-tracking branch 'upstream/master'