Resolved bug: application crash on service restart.