sentence1: However, he went to the length of unbolting it, and opening and shutting it several times; this he did with the utmost precaution against making any noise. 
sentence2: He unbolted it and opened and shut it, while trying hard not to make any noise.