@Test
public void testServiceDoesntPreventJVMShutdown()
        throws InterruptedException {

    service.await(new Runnable() {
        @Override
        public void run() {
            for (int i = 0; i < 100; i++) {}
        }
    });
}