Add ConnectionRunnable to database api