controlling flow with scala futures