Some patches to avoid a server instance being a zombie.

I made patches to run tests more safety.

Note that the latest version of this modules DOESN'T support multiple instances actually.
So I drop the tests for the feature.