issue #17, not inject ctx for startup and shutdown