Support non daemon application.