Creating shared RethinkDB connection per server thread.