pothos-library: fixed server object race condition