STREAMS-191 | Changed addToOutgoingQueue to reduce code complexity and to clarify code