Server in gevent mode might fail with multiple clients

In a gevent enabled device server, if multiple clients are connected the server gets blocked eventually.

The problem can be reproduced with intensive multiple clients accessing to the same attribute.