ct_poll stops responding on IBM AIX

[CR #547797] ct_poll() stops responding when runs on IBM AIX.

Workaround: Set the AIXTHREAD_SCOPE environment variable to “S”.