fixed a hang bug when running NAMD due to send_large_messages(),