[PATCH 5.1 33/40] selftests/tls: add test for sleeping even though there is data