Add timeout for build

Fixes #5