Code a la Mode - Puzzle Discussion

I get the same frequent non-reproducible timeouts that I got during the contest

Meanwhile, I checked with property-based testing a la “quickcheck” that there are no exceptions during reading, parsing, and turn selection.
Still, the submitted bot has frequent, non-reproducible first-turn timeouts.
On my computer, I measured a maximal runtime of 9ms for the first turn and 8.5ms for later turns on a “cold” JVM (code was not run before and the maximum is from 10000 repetitions).
Most of the time, there is not even debug output from STDERR available although the main method starts with printing to STDERR.

(The tested and currently submitted Bot version actually picks moves in contrast to the version reported previously during the contest which just WAITed.)

I suspect a bug in the timeout detection and there is definitely a bug in handling STDERR output on timeouts because I do not get any most of the time.