Bugfix

if event occured in the middle of removing list, it can cause segfault.

https://issues.apache.org/jira/browse/ZOOKEEPER-1380