ct_poll hangs in IBM AIX

[CR #547797] ct_poll() hangs when ran on IBM AIX.

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