Corrected issue in connection where variable onAfterNextTrigger was
cleared after each trigger which was an issue because it is supplied to
a trigger handler which didnøt use onAfterNextTrigger immediately and
thus onAfterNextTrigger was always empty. Now, onAfterNextTrigger isn't
cleared. Fixed the corresponding issue in the doReject method of
connection.

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