[sample] Mask RejectedExecutionException. This is only the sample so fixing this isn't high on my priority list.