client: fix race condition by avoiding shadowing the err variable
client: fix race condition by avoiding shadowing the err variable

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