support async

I needed this changes so I could start the server only after the session store is connected.