Add err into next fuction

When use connect-timeout plugins, the router will execute twice.
Merge pull request #5 from qiangyee/master

Add err into next fuction