Database transactions can perform disk I/O tasks, which at times will block the eventloop. Run all transactions in threads to prevent this from occuring. Signed-off-by: Eric Callahan <arksine.code@gmail.com>