Fix NPE which accours if you call stop on a not started server