An example of customizing a scala Future