Rest API gets slower and slower and finally webserver hangs...

@OttoF, many thanks for your reply.

In order to simplify things I've decided to start a new topic reporting the full issue:

http://forum.arduino.cc/index.php?topic=204077.0

looking forward to hear your thoughts...

Best!