Merge "Fix that the top process is not cleared after device sleeps"