I will leave the house
私が家を出ようとしていたら、トムから電話がかかった。
Just as I was about to leave the house, Tom called.
私が家を出ようとしていると雨が降り出した。
Just as I was about to leave the house, it started to rain.