Added a timeout to BugGuard to prevent infinite loops and blocked threads