Fix a potential race condition where the worker thread of GlobalEventExecutor terminates with a pending task

- Potential fix for the hanging SpdyFrameDecoderTest