check for valid git hash
close cursor in ten seconds