use continue instead of break because break closes the connection -_-;