Network and other random errors fix

Signed-off-by: Zeldo Kavira <zeldokavira@gmail.com>