No, it can be a relative pronoun because "you are about to lose your temper" is a complete self-contained clause. I would say it's a conjunction there.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.
GPYNo, it can be a relative pronoun becauseI did of course mean to say that it can't be a relative pronoun ...