Added termination code after delay
Use of onComplete with Success/Failure monad
Use of onComplete with Success/Failure monad