Thread context correctly saved