You’re using a diminished chord as the connecting chord here.
You can also use them both in bar 4. Try it!