Prevent thread from being started twice. Fixed typo with success