server keeps restarted, adding logs to find out why