It was possible for a race condition to occur (see https://github.com/playframework/playframework/pull/1294#commitcomment-3895065).

The issue is fixed by ensuring that only one caller is able to instantiate the client at a time.
Merge pull request #1535 from huntc/ws-synchronisation-issue

Wild thread allocations during startup