prevent server from crashing