Add method to clear context from thread storage.