He stood looking at her, with his hands thrust deep into his pockets,--looking at her and thinking what he had better do to rid himself of her presence. 
He stood looking at her, and thinking what he had better do to rid himself of her presence. 