OK, I moved initialization before `serv.start`.