Going back to this form of autocommiting for a bit

Currently implementation of autocommit in my helper functions are
slightly buggy..

Signed-off-by: Toon Schoenmakers <nighteyes1993@gmail.com>
This should speed up the query queueing

Signed-off-by: Toon Schoenmakers <nighteyes1993@gmail.com>