he lay awake for some time , trying to calm his disquiet as he listened to the occasional night sounds of the hotel , the scattered noise of traffic , and the mournful horns of ships and boats in the harbor .