added sticky support to threads