TODO: Abstract to Connection Manager to handle queue and retries.
PromisedDB: WIP on API.