Skip tests which fails on CI servers
Polished test to ensure it shutdown cleanly.