make connection open when get the bookDAO from Lib