Fix #367 & Support IdlePageOut