preview timeout was not being cancelled