Fixed possible thread leak