Github user exabrial commented on the issue:
https://github.com/apache/tomee/pull/171
Actually I need to close this! I wrote this patch before I read the javadoc
on the scheduled executor service thoroughly. The max setting is a little
misleading. When you wrote the original code you left the max out because it
doesn't have the intended effect ---
