Fix #1377 (again): Stabilize JSEnv timeout tests

By sufficiently increasing the absolute time difference between events
we test, we hopefully remove flakyness.
Merge pull request #1387 from gzm0/de-flake

Fix #1377 (again): Stabilize JSEnv timeout tests