When reading remote files (via fopen function), sometimes the remote server doesn't respond (busy I guess?). Is there a way to set a timeout?