added timeout to allow for slow numpy