fixes #28: example app did not start background thread when running under a production server