added more debugging for server crashes