reconn: fix incorrect reconn delay calc

http://nodejs.netease.com/topic/544e185fcb93b0031fcaae41
py: fix protential deadlock