The gym is not a pub. You should be there for one reason only! Do not get into the habit of making conversation during your rest breaks either.
Prioritize the highest yield exercises and concentrate on the movements that will give you the biggest return on your investment first, in case you need to cut your session short.