A simple mechanism for running asychronous processes in Scala