[jmdb] Adding shell mode hook to prevent echos