On your way back from the IV chord to the I chord, you can also use a diminished chord to connect them.
Note that this is a step down from the one used in the previous example.
Use it in bar 6 of a blues.