finish debugging close serial searching