start server after db connection opened