SSHTunnel: Changed monitoring code to avoid creating a memory leak. (The assumption that ticker.Stop() would end the loops was incorrect after reading doc).