[TIMOB-13056] Android: correctly handle timeout in evalJS by removing enqueued code snippet and drain permits before next snippet enqueue
Merge pull request #3991 from mstepanov/timob-13056

[TIMOB-13056] Android: correctly handle timeout in evalJS by removing enqueued code snippet and drain permits before next snippet enqueue