Wrong return value when a thread starts.