Home invader caught by police