Add an extra parameter for Connection::pump to prevent high cpu load