added tests for delayed shutdown of subscriber