Added a timeout check to graph generation to prevent hanging