Add releaseResources and pause stopGame