In case the LogConsumer is gone, the code that sends the message can stuck forever. Wrap the code in select case, as all other loggers do. Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com> (cherry picked from commit 79039720c8b7352691350bd56be3cc226d67f205) Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com> Upstream-commit: 56a8a516127a2630c3a68ab31c416f223b91e9df Component: engine