Rename loadUrls function
Add USR1 signal to close inputs