Threading

Added threading to scan sockets simultaneously as opposed to
sequentially