ConnectionPool middleware: fix a crash due to unimplemented behaviour See merge request pleroma/pleroma!2958