Android Epic Fail #2.... Data use.

Here at the office, I am on the wifi and started a download of an app.  the phone went to sleep and continued to download not on wifi, but on 3g.

What moron Google engineer sets the wifi to turn off when the phone goes to sleep?

Absolute epic fail,  my iPhone has never done this.   If I download an app on wifi and put the phone in my pocket, it continues the download on wifi until it finishes or loses wifi connectivity.