Runs command and gives back its standard output, or null when it fails or takes longer than timeoutSeconds.