Reusing of database and multiple connections