Prevent producer thread from printing stack trace on exceptions