Trying to fix remote logger errors (logs are not always sent)