Update DB.php

DB will only connects once