Hotfix so server will shutdown. Will investigate more later.