Tests: switching stdout to blocking before printing log.
Tests: switching stdout to blocking before printing log.

This is another attempt to fix the following error message:
BlockingIOError: [Errno 11] write could not complete without blocking

nginx/unit,nginx/unit,nginx/unit,nginx/unit,nginx/unit,nginx/unit,nginx/unit,nginx/unit,nginx/unit,nginx/unit,nginx/unit