Catch RejectedExecutionException when draining buffer