This occurs when running Jmeter with multiple threads (users). With single user, the issue does not happen.
OS: Windows 10
Edit: I mean by "hangs" that Jmeter waits a response from the server forever which should be already responded.
This was resolved by setting HTTP client implementation to Java like this.
Java implementation does not use connection pool and I think that's the reason for it to be resolved (just a wild guess though).