Added missing clearing of flushed transactions and affected models in
reject method of connection.

Signed-off-by: Jakob Brandsborg Ehmsen <jakobehmsen.github@gmail.com>