The app can now finally recieve data, the problem now is that it hangs
if data isn't recieved.