Server closes and it shows errors in the log