Fix shutdown call and add ability for user-supplied ActorSystem and HTTP timeout.