log error when failed accept socket