Fix memory leak in in_thread:
Fix memory leak in in_thread:

* the correct thread wasn't being removed from the list of subthreads
jweather/sonic-pi,jweather/sonic-pi,jweather/sonic-pi,jweather/sonic-pi,jweather/sonic-pi