There's nothing wrong with them, especially if they are two distinct setences. However, if you want to say the the reason you must leave is to meet your friend at five, then they aren't natural together with that mix of tenses. "
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.