Added 'delay' parameter for releaseMessage()'