title: AskTimeoutException: on spray-can server stop
body: <p>I am trying to stop spray-can web server with the following code:</p>
  
  <pre><code>implicit val timeout = Timeout(10 seconds)
  val future = ask(IO(Http)(system), Http.Unbind(10 second))
  Await.result(future, Duration.Inf)
  </code></pre>
  
  <p>but unfortunatelly I receive the following exception:</p>
  
  <blockquote>
    <p>[error]    AskTimeoutException: : Timed out  (AskSupport.scala:334)
    [error]
    akka.pattern.PromiseActorRef$$anonfun$1.apply$mcV$sp(AskSupport.scala:334)
    [error] akka.actor.Scheduler$$anon$11.run(Scheduler.scala:118) [error]
    akka.actor.LightArrayRevolverScheduler$TaskHolder.executeTask(Scheduler.scala:455)
    [error]
    akka.actor.LightArrayRevolverScheduler$$anon$12.executeBucket$1(Scheduler.scala:407)
    [error]
    akka.actor.LightArrayRevolverScheduler$$anon$12.nextTick(Scheduler.scala:411)
    [error]
    akka.actor.LightArrayRevolverScheduler$$anon$12.run(Scheduler.scala:363)</p>
  </blockquote>
  
  <p>What am I doing wrong?</p>