'Having being tormented by them earlier" is the key take-away from this sentence.
Also, if he was lying in wait for them, it suggests it was a nailed on certainty that they were going to come back and break in again. He wasn't paranoid, he was correct.
And what sort of catastrophic failing of...