Run with timeout