Synchronize on sessions field during cleanSessions() to avoid

ConcurrentModificationExceptions if sessions are added/removed during
cleanup.

Got an exception while playing around with gists.neo4j.org, so I toke a look at it :-)
@jexp You worked on the sessions management code just a few days ago, mind to give it a quick review?