Incorporates a timeout