Removed redundant execution case of PendingCommandFactory in connection.

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