My server is stopping as soon as it starts