Preventing connecting to db on setup