interrupt socket receive when header is too long.