[fix] handle calling `server.close()` multiple times
0.0.2