First bugfix: Make monitor async

- The monitor loop was blocking the express server.
- Now it works fine but not very fast