client: fix race condition
client: fix race condition

leeola/kite,koding/kite,ppknap/kite,koding/kite,rjeczalik/kite,leeola/kite,280455936/kite,wingyplus/kite,wingyplus/kite,rjeczalik/kite,ppknap/kite,rjeczalik/kite,280455936/kite,mischief/kite,koding/kite,mischief/kite,ppknap/kite