Remove *.swp
Poll with nc instead of waiting for 10 seconds