Redmine #4822: Improve cf-serverd tests on Windows

They don't all pass yet, but this at least gets rid of the hanging.