Improving the safety of thoracentesis