fast deletion of message from map

Signed-off-by: Ankit Kumar <ankitkumar.itbhu@gmail.com>