Added partial implementation for context suspend/resume functionality