engine.py: Fix set_concurrent poison pill logic.
stream_test.py: Increase timeout for travis ci.