close and start a new thread for the leica.