Fixing ConcurrentModificationException when running cucumber tests in parallel