router: Drain hook in the API.

Signed-off-by: Blaž Hrastnik <blaz.hrast@gmail.com>