I tried to kill a cockroach that was outside the front door of our house, but I missed it. Now I can't sleep because I'm worried it could get in the house at anytime.
この場合、次のような言い方ができますよ。
ーI tried to kill a cockroach that was outside the front door of our house, but I missed it. Now I can't sleep because I'm worried it could get in the house at anytime.
「家の玄関の外にいたゴキブリを仕留め損ねて、いつ家に入ってくるかと心配で眠れない」
I tried to kill ..., but I missed it. で「…を仕留め損ねた」と言えます。
to get in the house で「家に入ってくる」
ご参考まで!