Remove timeout middleware and worker option, fixes #862