Example of how to interrupt a long computation in Play Framework 2.x after a timeout