Fixed high CPU usage.
Thread timed join now only available with _GUN_SOURCE.