added time to close makes the test more stable