Record the log output of tor by creating a temporary logfile and reading from it.
Set the measurement timeout to the timeout of the nettest + 8 to avoid triggering the measurement timeout before the nettest one.
Close file descriptor as soon as we have created the temporary file.
Merge pull request #350 from TheTorProject/feature/improve_bridge_reachability

Feature/improve bridge reachability